<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="/assets/css/login.css" />
  </head>
  <body>
    <!-- 头部logo -->
    <div class="headerLogo main">
      <h1><img src="/assets/images/logo.png" alt="" /></h1>
    </div>
    <!-- 登录注册框 -->
    <div class="loginBox">
      <div class="loginBox-title"></div>
      <!-- 登录 -->
      <form class="layui-form denglu" action="">
        <div class="layui-form-item">
          <div>
            <i class="layui-icon layui-icon-username"></i>
            <input type="text" name="username" required lay-verify="required|username" placeholder="请输入用户名" autocomplete="off" class="layui-input" />
          </div>
        </div>

        <div class="layui-form-item">
          <div>
            <i class="layui-icon layui-icon-password"></i>
            <input type="text" name="password" required lay-verify="required|password" placeholder="请输入密码" autocomplete="off" class="layui-input" />
          </div>
        </div>

        <div class="layui-form-item">
          <div>
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="formDemo" type="submit">登录</button>
          </div>
        </div>

        <div class="layui-form-item">
          <span class="right gozhuce">去注册账号</span>
        </div>
      </form>
      <!-- 注册 -->
      <form class="layui-form zhuce" action="" style="display: none">
        <div class="layui-form-item">
          <div>
            <i class="layui-icon layui-icon-username"></i>
            <input type="text" name="username" required lay-verify="required|username" placeholder="请输入用户名" autocomplete="off" class="layui-input" />
          </div>
        </div>

        <div class="layui-form-item">
          <div>
            <i class="layui-icon layui-icon-password"></i>
            <input type="text" name="password" required lay-verify="required|password" placeholder="请输入密码" autocomplete="off" class="layui-input oldmima" />
          </div>
        </div>

        <div class="layui-form-item">
          <div>
            <i class="layui-icon layui-icon-password"></i>
            <input type="text" required lay-verify="required|Pwd" placeholder="请再次确认密码" autocomplete="off" class="layui-input" />
          </div>
        </div>

        <div class="layui-form-item">
          <div>
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>
          </div>
        </div>

        <div class="layui-form-item">
          <span class="right godenglu">去登录</span>
        </div>
      </form>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <script src="/assets/js/baseAPI.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/login.js"></script>
  </body>
</html>
